/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package personas;

/**
 *
 * @author alumnom
 */
public class Persona {
    protected String nombre;
    public Persona(String nom){
        this.nombre=nom;
    }
    protected String getNombre(){
        return this.nombre;
    }
    protected void setNombre(String nom){
        this.nombre=nom;
    }
    public String hablar(){
        return "bla bla bla";
    }
}
